using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI.WebControls;
using umbraco.interfaces;
using IAS.MacroRenderings.Data;
namespace IAS.MacroRenderings
{
    /// <summary>
    /// idea nicked from http://forum.umbraco.org/19305#post-19305
    /// this will allow you to have your own user defined type in a macro property
    /// </summary>
    public sealed class FontType : BaseDataProvider
    {

        

        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);
            fillCombo();
        }
        /// <summary>
        /// fills the combo using the DataFontHardCoded class 
        /// </summary>
        protected override void fillCombo() {
            this.DropDownData = new DataFontHardCoded();            
            this.fillComboData();
        }
    }
}
